Matthias Clasen [Sat, 3 May 2014 20:00:28 +0000 (16:00 -0400)]
parasite: Drop an unused field
Matthias Clasen [Sat, 3 May 2014 19:57:16 +0000 (15:57 -0400)]
parasite: Make child properties insensitive when empty
When the selected object is not a widget, make the child property
list insensitive.
Matthias Clasen [Sat, 3 May 2014 19:25:43 +0000 (15:25 -0400)]
parasite: Display child properties too
Matthias Clasen [Sat, 3 May 2014 17:21:41 +0000 (13:21 -0400)]
parasite: Use a window group
By putting the parasite window in a separate group, we can interact
with it even when there is a modal dialog blocking the application
window
Matthias Clasen [Sat, 3 May 2014 01:48:33 +0000 (21:48 -0400)]
Initial import
This is a copy of https://github.com/chipx86/gtkparasite.git
with minimal edits to make it build.
Benjamin Otte [Sun, 11 May 2014 02:00:55 +0000 (04:00 +0200)]
css: Add forgotten files
Forgot to add those files in
3a72e2fb2483d4dd26eb74319613ffb505d89128
Benjamin Otte [Sun, 11 May 2014 01:22:06 +0000 (03:22 +0200)]
css: Implement "all" shorthand
Here's the spec:
http://dev.w3.org/csswg/css-cascade/#all-shorthand
Also use it in the reset-to-defaults CSS where a bunch of properties had
been missing.
Benjamin Otte [Sun, 11 May 2014 01:08:40 +0000 (03:08 +0200)]
css: Implement "unset"
Quoting the spec:
If the cascaded value of a property is the unset keyword,
then if it is an inherited property, this is treated as
inherit, and if it is not, this is treated as initial.
Spec in question:
http://dev.w3.org/csswg/css-cascade/
Also use unset in the reset-to-defaults.css we use to reset css in
reftests.
Benjamin Otte [Sat, 10 May 2014 15:20:11 +0000 (17:20 +0200)]
reftests: Create the surface after running the main loop
Running the main loop may cause resizes, so creating the surface based
on the size before running it seems wrong.
Benjamin Otte [Thu, 8 May 2014 16:42:35 +0000 (18:42 +0200)]
iconhelper: Simplify code
In the GTK_IMAGE_ICON_NAME case, instead of keeping around the icon_name,
create a GThemedIcon and use that. This way, we can reuse the code paths
for the GTK_IMAGE_GICON case.
Emmanuele Bassi [Mon, 24 Mar 2014 20:51:42 +0000 (20:51 +0000)]
win32embed: Set the visible flag and avoid recursion
We have to use the internal accessor to the visible flag, instead of
calling gtk_widget_set_visible(), from within the show() and hide()
implementations - otherwise we'll recurse.
https://bugzilla.gnome.org/show_bug.cgi?id=721069
Daniel Mustieles [Sat, 10 May 2014 17:53:22 +0000 (19:53 +0200)]
Updated Spanish translation
Daniel Mustieles [Sat, 10 May 2014 17:53:04 +0000 (19:53 +0200)]
Updated Spanish translation
Matthias Clasen [Fri, 9 May 2014 21:13:53 +0000 (17:13 -0400)]
GtkWindow: small cleanup
The window type is a construct-only property, so we should
pass it to g_object_new, not set it after the fact in the
constructor.
Cosimo Cecchi [Sun, 4 May 2014 18:46:42 +0000 (20:46 +0200)]
widget: deprecate focus-line-width style property
Nothing in GTK uses it anymore.
Cosimo Cecchi [Sun, 4 May 2014 18:42:13 +0000 (20:42 +0200)]
flowbox: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:42:04 +0000 (20:42 +0200)]
listbox: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:41:41 +0000 (20:41 +0200)]
colorscale: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:38:24 +0000 (20:38 +0200)]
modelbutton: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:35:01 +0000 (20:35 +0200)]
range: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:26:55 +0000 (20:26 +0200)]
expander: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:23:09 +0000 (20:23 +0200)]
notebook: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:20:19 +0000 (20:20 +0200)]
spinbutton: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 18:19:48 +0000 (20:19 +0200)]
entry: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 18:16:13 +0000 (20:16 +0200)]
switch: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:12:37 +0000 (20:12 +0200)]
radiobutton: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:08:34 +0000 (20:08 +0200)]
checkbutton: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 18:01:12 +0000 (20:01 +0200)]
cellarea: don't use focus-line-width
Use CSS padding instead.
Cosimo Cecchi [Sun, 4 May 2014 18:00:16 +0000 (20:00 +0200)]
treeview: use the CELL style class while doing cell size request
Since we use the same style class later when we draw them. Otherwise
we'll get inconsistent results for CSS borders/paddings between the two
cycles.
Cosimo Cecchi [Sun, 4 May 2014 17:07:15 +0000 (19:07 +0200)]
calendar: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 16:51:53 +0000 (18:51 +0200)]
button: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 16:51:42 +0000 (18:51 +0200)]
button: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 16:46:11 +0000 (18:46 +0200)]
widget: deprecate focus-line-pattern style property
Nothing in GTK uses it.
Cosimo Cecchi [Sun, 4 May 2014 16:44:00 +0000 (18:44 +0200)]
widget: deprecate focus-padding style property
There's no use left inside GTK.
Cosimo Cecchi [Sun, 4 May 2014 16:41:00 +0000 (18:41 +0200)]
calendar: simplify code
Always use the newly introduced get_component_paddings() instead of
doing the work manually every time.
Cosimo Cecchi [Sun, 4 May 2014 16:34:11 +0000 (18:34 +0200)]
calendar: use CSS paddings instead of focus pad for day/week areas
focus-padding is going away.
Cosimo Cecchi [Sun, 4 May 2014 15:26:57 +0000 (17:26 +0200)]
range: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 15:16:03 +0000 (17:16 +0200)]
colorscale: don't use focus padding
Cosimo Cecchi [Sun, 4 May 2014 15:14:52 +0000 (17:14 +0200)]
range: don't use focus padding
Cosimo Cecchi [Sun, 4 May 2014 15:13:34 +0000 (17:13 +0200)]
scale: remove unused code
Cosimo Cecchi [Fri, 2 May 2014 16:45:35 +0000 (18:45 +0200)]
expander: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 13:01:38 +0000 (15:01 +0200)]
expander: add support for CSS padding and borders
We need to do this since we're about to remove focus-pad.
Cosimo Cecchi [Fri, 2 May 2014 07:34:14 +0000 (09:34 +0200)]
notebook: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:08:47 +0000 (02:08 +0200)]
modelbutton: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:05:49 +0000 (02:05 +0200)]
flowbox: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:03:14 +0000 (02:03 +0200)]
listbox: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:00:05 +0000 (02:00 +0200)]
switch: don't use focus padding
Cosimo Cecchi [Thu, 1 May 2014 23:55:02 +0000 (01:55 +0200)]
treeview: don't use focus padding
Cosimo Cecchi [Thu, 1 May 2014 23:40:26 +0000 (01:40 +0200)]
checkbutton: support CSS paddings and borders
We need this since we just removed focus-padding.
Cosimo Cecchi [Thu, 1 May 2014 23:39:06 +0000 (01:39 +0200)]
checkbutton: don't use focus padding
Cosimo Cecchi [Thu, 1 May 2014 18:13:47 +0000 (20:13 +0200)]
button: don't read focus padding property
We're going to deprecate it.
Cosimo Cecchi [Thu, 1 May 2014 17:36:42 +0000 (19:36 +0200)]
widget: deprecate interior-focus style property
Nothing uses it anymore inside GTK.
Cosimo Cecchi [Thu, 1 May 2014 17:36:31 +0000 (19:36 +0200)]
reftests: never set interior-focus
Cosimo Cecchi [Thu, 1 May 2014 17:36:17 +0000 (19:36 +0200)]
win32: don't set interior-focus in the theme
Cosimo Cecchi [Thu, 1 May 2014 17:35:58 +0000 (19:35 +0200)]
textview: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:35:46 +0000 (19:35 +0200)]
spinbutton: remove unused code
Cosimo Cecchi [Thu, 1 May 2014 17:35:30 +0000 (19:35 +0200)]
radiobutton: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:35:16 +0000 (19:35 +0200)]
expander: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:34:48 +0000 (19:34 +0200)]
checkbutton: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:20:30 +0000 (19:20 +0200)]
entry: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:14:43 +0000 (19:14 +0200)]
button: always use interior focus
We're going to deprecate the property, and this is what everyone has
been using.
Cosimo Cecchi [Thu, 1 May 2014 16:55:33 +0000 (18:55 +0200)]
widget-factory: use same spacing for buttons column
So that they nicely align with entries. Useful when tweaking the theme.
Matthias Clasen [Thu, 8 May 2014 18:06:03 +0000 (14:06 -0400)]
GtkCellArea: allow finding attributes at runtime
This will allow e.g. GtkInspector to display attribute mappings.
http://bugzilla.gnome.org/show_bug.cgi?id=729817
Matthias Clasen [Thu, 8 May 2014 11:33:01 +0000 (07:33 -0400)]
GtkListBox: improve the docs
The documentation was not really clear about ::row-selected
not working for multi-selection.
David Mansfield [Tue, 6 May 2014 18:50:00 +0000 (18:50 +0000)]
GdkCursor: Don't leak a cairo surface
The function gdk_cursor_new_from_pixbuf creates a cairo surface
to pass to its backend implementation, but doesn't destroy it
afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=729670
William Jon McCann [Wed, 7 May 2014 09:13:59 +0000 (05:13 -0400)]
Update the design for progress bars
We now use a narrower trough and paint the optional text
beside the trough instead of inside it. This makes for a much
cleaner appearance and more readable text.
Matthias Clasen [Wed, 7 May 2014 10:51:17 +0000 (06:51 -0400)]
Remove debug spew
William Jon McCann [Tue, 6 May 2014 15:13:33 +0000 (11:13 -0400)]
widget-factory: add linked entry and button example
Carlos Garnacho [Mon, 28 Apr 2014 10:58:50 +0000 (12:58 +0200)]
wayland: Fix c&p typo in touch capabilities handling.
Matthias Clasen [Tue, 6 May 2014 13:16:28 +0000 (09:16 -0400)]
Bloatpad: port to new accel api
Benjamin Otte [Tue, 6 May 2014 02:00:38 +0000 (04:00 +0200)]
viewport: Don't subtract borders and padding from -1
-1 is a special value for "undefined" and needs to stay that way
https://bugzilla.gnome.org/show_bug.cgi?id=729607
Marcus Karlsson [Sun, 4 May 2014 14:00:26 +0000 (16:00 +0200)]
docs: Fix name of GtkFileChooser's Create Folder button
The documentation for GtkFileChooser references the button which allows
the user to create new folders as the New Folder button, although the
label actually says Create Folder.
Update the documentation to say Create Folder instead of New Folder.
https://bugzilla.gnome.org/show_bug.cgi?id=729475
Marcus Karlsson [Sun, 4 May 2014 15:08:47 +0000 (17:08 +0200)]
docs: fix typos in gtk_file_chooser_set_local_only
Change "file are files" to "file or files." Also remove an excessive
"file" in "file system."
https://bugzilla.gnome.org/show_bug.cgi?id=729473
Matthias Clasen [Mon, 5 May 2014 22:16:55 +0000 (18:16 -0400)]
a11y: Avoid a warning
The listbox row accessible code was giving warnings when
parent is NULL, at destruction time.
Juan Pablo Ugarte [Mon, 5 May 2014 18:22:52 +0000 (15:22 -0300)]
GtkColorButton: Fix recursion loop in "use-alpha" set_property()
Benjamin Otte [Mon, 5 May 2014 14:10:16 +0000 (16:10 +0200)]
a11y: Disable deprecation warnings in AtkMisc implementation
Benjamin Otte [Mon, 5 May 2014 13:46:23 +0000 (15:46 +0200)]
combobox: Add workaround so evolution doesn't crash
Removing the NULL checks in
7f60cab47d9651ed3ed53b86f1f74de71b55eee0
caused evolution to crash. It chains up with NULL and that used to work.
This patch should be reverted for GTK 4.0.
https://bugzilla.gnome.org/show_bug.cgi?id=729496
Benjamin Otte [Mon, 5 May 2014 13:27:14 +0000 (15:27 +0200)]
applicationwindow: Properly unmap the menubar widget
Benjamin Otte [Thu, 1 May 2014 17:49:47 +0000 (19:49 +0200)]
tests: Add test for latest patch
This tesst infloops without it.
Benjamin Otte [Thu, 1 May 2014 17:48:40 +0000 (19:48 +0200)]
css: Fix printing code for CSS strings and idents
It used to infloop on special characters.
Benjamin Otte [Thu, 1 May 2014 17:47:58 +0000 (19:47 +0200)]
css: Split out a common function
It's used in two places already, and Iwant to use it in a third one.
Matthias Clasen [Mon, 5 May 2014 13:41:06 +0000 (09:41 -0400)]
Small documentation update
Don't show an example that doesn't work anymore.
Matthias Clasen [Mon, 5 May 2014 11:24:18 +0000 (07:24 -0400)]
Small documentation fixes
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=729461
Matthias Clasen [Mon, 5 May 2014 11:20:31 +0000 (07:20 -0400)]
GtkApplication: Clarify docs a bit
Explicitly mention how gtk_application_set_accels_for_action can
be used to remove all accelerators for an action.
https://bugzilla.gnome.org/show_bug.cgi?id=729451
Ihar Hrachyshka [Sun, 4 May 2014 22:09:19 +0000 (22:09 +0000)]
Updated Belarusian translation
Paolo Borelli [Sun, 4 May 2014 17:38:31 +0000 (19:38 +0200)]
listbox: check gsequence end iter in get_row_at_index
Matthias Clasen [Sat, 3 May 2014 05:02:56 +0000 (01:02 -0400)]
GtkHeaderBar: Allow overdrawing
The draw function of GtkHeaderBar was returning TRUE, causing
after-signal handlers to not run. This breaks e.g. drawing of
dnd hightlights. Fix that.
Matthias Clasen [Sat, 3 May 2014 01:09:05 +0000 (21:09 -0400)]
Fix a thinko in the last color button change
Using the interface method in the set_property implementation
leads to an infinite recursion, if the interface method is in
turn using g_object_set.
Matthias Clasen [Sat, 3 May 2014 00:59:00 +0000 (20:59 -0400)]
a11y tests: Avoid deprecation warnings
We can't drop the index-based AtkTable methods unless we change
the output format, so just ignore the deprecations for now.
Matthias Clasen [Sat, 3 May 2014 00:49:43 +0000 (20:49 -0400)]
a11y tests: Update expected output
The new AtkValue interface aways returns doubles, which causes
the range to be printed out with decimals.
Matthias Clasen [Sat, 3 May 2014 00:48:35 +0000 (20:48 -0400)]
a11y tests: Use the new AtkValue interface
The old interface is deprecated, and we just implemented the
new one, so lets test it.
Matthias Clasen [Sat, 3 May 2014 00:47:56 +0000 (20:47 -0400)]
GtkDialog: Reduce a g_warning to a g_message
Otherwise, this breaks our testsuite.
Matthias Clasen [Sat, 3 May 2014 00:47:16 +0000 (20:47 -0400)]
GtkSpinButton: Implement new AtkValue interface
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
Matthias Clasen [Sat, 3 May 2014 00:47:00 +0000 (20:47 -0400)]
GtkScaleButton: Implement new AtkValue interface
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
Matthias Clasen [Sat, 3 May 2014 00:46:45 +0000 (20:46 -0400)]
GtkRange: Implement new AtkValue interface
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
Matthias Clasen [Sat, 3 May 2014 00:46:30 +0000 (20:46 -0400)]
GtkProgressBar: Implement new AtkValue interface
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
Matthias Clasen [Sat, 3 May 2014 00:46:17 +0000 (20:46 -0400)]
GtkPaned: Implement new AtkValue interface
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
Matthias Clasen [Sat, 3 May 2014 00:45:19 +0000 (20:45 -0400)]
GtkLevelBar: Implement new AtkValue interface
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
Matthias Clasen [Fri, 2 May 2014 23:25:27 +0000 (19:25 -0400)]
GtkWidget: Mark deprecated properties as such
The ::style, ::margin-left and ::margin-right properties are all
deprecated.
Matthias Clasen [Fri, 2 May 2014 22:50:52 +0000 (18:50 -0400)]
Drop unneeded deprecation suppression
Removing this did not produce any deprecation warnings.